package com.jiazhong.spring.ioc.annotation;

import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class DemoD4 {

    @Resource
    private DemoD1 demoD2;
    @Resource // byName+byType
    private DemoC ccccccc;
}
